package com.zsc.edu.gateway.modules.iot.tsl.repo;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zsc.edu.gateway.modules.iot.tsl.entity.EventLog;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface EventLogRepository extends BaseMapper<EventLog> {

    @Select("select * from iot_event_log where client_id=#{clientId}")
    List<EventLog> selectByClientId(@Param("clientId") String clientId);

}
